package com.bookmall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bookmall.common.utils.PageUtils;
import com.bookmall.member.domain.MemberLikeBooks;
import com.ruoyi.common.core.exception.ServiceException;

import java.util.List;

/**
 * @Description:
 * @Author 胡菜鸡
 * @Create 2022-04-01-10:52
 */
public interface IMemberLikeBooksService extends IService<MemberLikeBooks> {
    /**
     * 获取会员喜欢列表
     * @author 胡菜鸡
     * @date 2022/5/7 15:29
     */
    PageUtils getMemberLikesWithMemberInfo(MemberLikeBooks memberLikeBooks);

    /**
     * 新增会员喜欢书籍
     * @author 胡菜鸡
     * @date 2022/5/7 16:16
     */
    int saveMemberLikesBook(MemberLikeBooks memberLikeBooks) throws ServiceException;
}
